<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/common/taglib.jsp"%>
<%@ include file="/common/common.jsp"%>
<script type="text/javascript">
<!--//--><![CDATA[//><!--


//--><!]]>
</script>
</head>
<body>



    <div class="navbar navbar-inverse navbar-fixed-top">
    
      <div class="navbar-inner">
      
        <div class="container">
        
          <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          
          <a class="brand" href="#">Demo Project</a>
          
          <div class="nav-collapse collapse">
          	<p class="navbar-text pull-right">
          	  <c:choose>
          	  <c:when test="${sessAuthUser.loginName != null}">
          	  	<span title="当前登录用户名: ${sessAuthUser.loginName}">欢迎 ${sessAuthUser.displayName }</span>
			 	<a target="_top" id="app_logout" href="${pageContext.request.contextPath}/auth/logout">退出</a>
			  </c:when>
          	  <c:otherwise>
          	  <a target="_top" href="${pageContext.request.contextPath}/auth/login">会员登录</a>
          	  </c:otherwise>
			 </c:choose>
            </p>
            
            <ul class="nav">
              <li class="active"><a href="${pageContext.request.contextPath}/">首页</a></li>
              <li><a href="${pageContext.request.contextPath}/demo/p?sid=service">Service</a></li>
              <li><a href="${pageContext.request.contextPath}/demo/p?sid=dao">Dao</a></li>
            </ul>
          </div><!--/.nav-collapse -->
          
        </div>
        
      </div>
      
    </div>
